package com.shangxian.giveithome.service;


import com.shangxian.giveithome.entity.*;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface MechanismFeiService {

    MechanismDetails queryByMe(Long id);

    PageableDetails queryUserActivity(Long id, Long offSet, Pageable pageable);

    PageableDetails queryUserActivityHistory(Long id, Long offSet, Pageable pageable);

    List<Mechanism> queryByUserAdoption(List<Long> mes);

    Long queryById(Long id);

    Mechanism queryByMechanismId(Long meId);

    PageableDetails queryMechanismApply(Pageable pageable);

    void success(Long id);

    void error(Long id);

    void upMechanismData(MechanismDataUp mechanismDataUp);

    List<VolunteerUser> queryVolunteer(Long us_id);

    Mechanism queryByMechanismAsylum(Long me_id);
}
